.class public Lcom/instagram/android/d/j/p;
.super Lcom/instagram/android/d/j/h;
.source "StreamingApiRequestLoaderCallbacks.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/instagram/android/d/j/h",
        "<TT;>;"
    }
.end annotation


# instance fields
.field private final b:Lcom/instagram/android/d/j/g;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/instagram/android/d/j/g",
            "<TT;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/instagram/android/d/j/g;Lcom/instagram/android/d/j/a;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lcom/instagram/android/d/j/g",
            "<TT;>;",
            "Lcom/instagram/android/d/j/a",
            "<TT;>;)V"
        }
    .end annotation

    .prologue
    .line 37
    invoke-direct {p0, p1, p2, p3}, Lcom/instagram/android/d/j/h;-><init>(Landroid/content/Context;Lcom/instagram/android/d/j/c;Lcom/instagram/android/d/j/a;)V

    .line 39
    iput-object p2, p0, Lcom/instagram/android/d/j/p;->b:Lcom/instagram/android/d/j/g;

    .line 40
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/d/j/p;)Lcom/instagram/android/d/j/g;
    .locals 1
    .parameter

    .prologue
    .line 29
    iget-object v0, p0, Lcom/instagram/android/d/j/p;->b:Lcom/instagram/android/d/j/g;

    return-object v0
.end method

.method private a(Lcom/fasterxml/jackson/a/l;)Ljava/lang/String;
    .locals 3
    .parameter

    .prologue
    .line 164
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v0

    sget-object v1, Lcom/fasterxml/jackson/a/r;->b:Lcom/fasterxml/jackson/a/r;

    if-ne v0, v1, :cond_3

    .line 165
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    .line 167
    :cond_0
    :goto_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_2

    .line 168
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v1

    .line 169
    const-string v2, "errors"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 170
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 171
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->m:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_0

    .line 172
    :goto_1
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v1

    sget-object v2, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v1, v2, :cond_0

    .line 173
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_1

    .line 176
    :cond_1
    if-eqz v1, :cond_0

    .line 177
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_0

    .line 181
    :cond_2
    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 183
    :goto_2
    return-object v0

    :cond_3
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v0

    goto :goto_2
.end method

.method static synthetic a(Lcom/instagram/android/d/j/p;Lcom/fasterxml/jackson/a/l;)Ljava/lang/String;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 29
    invoke-direct {p0, p1}, Lcom/instagram/android/d/j/p;->a(Lcom/fasterxml/jackson/a/l;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private b(Lcom/fasterxml/jackson/a/l;)Ljava/util/Collection;
    .locals 6
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/fasterxml/jackson/a/l;",
            ")",
            "Ljava/util/Collection",
            "<",
            "Lcom/instagram/android/d/b/d;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v1, 0x0

    .line 189
    .line 190
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v0

    sget-object v2, Lcom/fasterxml/jackson/a/r;->m:Lcom/fasterxml/jackson/a/r;

    if-eq v0, v2, :cond_6

    move-object v0, v1

    .line 191
    :cond_0
    :goto_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v2, v3, :cond_7

    move-object v2, v1

    move-object v3, v1

    .line 194
    :cond_1
    :goto_1
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v4

    sget-object v5, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v4, v5, :cond_4

    .line 195
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v4

    .line 196
    const-string v5, "key"

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 197
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 198
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v3

    goto :goto_1

    .line 199
    :cond_2
    const-string v5, "time"

    invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_3

    .line 200
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 201
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F

    move-result v2

    invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v2

    goto :goto_1

    .line 202
    :cond_3
    if-eqz v4, :cond_1

    .line 203
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->skipChildren()Lcom/fasterxml/jackson/a/l;

    goto :goto_1

    .line 206
    :cond_4
    if-eqz v3, :cond_0

    if-eqz v2, :cond_0

    .line 207
    if-nez v0, :cond_5

    .line 208
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 210
    :cond_5
    invoke-static {v3, v2}, Lcom/instagram/android/d/b/d;->a(Ljava/lang/String;Ljava/lang/Float;)Lcom/instagram/android/d/b/d;

    move-result-object v2

    .line 211
    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_6
    move-object v0, v1

    .line 215
    :cond_7
    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/d/j/p;Lcom/fasterxml/jackson/a/l;)Ljava/util/Collection;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 29
    invoke-direct {p0, p1}, Lcom/instagram/android/d/j/p;->b(Lcom/fasterxml/jackson/a/l;)Ljava/util/Collection;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public a(ILandroid/os/Bundle;)Landroid/support/v4/a/c;
    .locals 2
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Landroid/os/Bundle;",
            ")",
            "Landroid/support/v4/a/c",
            "<",
            "Lcom/instagram/android/d/j/j",
            "<TT;>;>;"
        }
    .end annotation

    .prologue
    .line 45
    invoke-virtual {p0}, Lcom/instagram/android/d/j/p;->a()Lcom/instagram/android/d/j/a;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 46
    invoke-virtual {p0}, Lcom/instagram/android/d/j/p;->a()Lcom/instagram/android/d/j/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/d/j/a;->a()V

    .line 49
    :cond_0
    new-instance v0, Lcom/instagram/android/d/j/q;

    iget-object v1, p0, Lcom/instagram/android/d/j/p;->a:Landroid/content/Context;

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/d/j/q;-><init>(Lcom/instagram/android/d/j/p;Landroid/content/Context;)V

    return-object v0
.end method

.method protected a(Lcom/instagram/android/d/j/r;)V
    .locals 0
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/r",
            "<TT;>;)V"
        }
    .end annotation

    .prologue
    .line 219
    return-void
.end method
